package com.guigu.tms.exception;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName:TmsException
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/11/8:15:42 星期一
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "自定义异常处理")
public class TmsException extends RuntimeException{
    @ApiModelProperty(name = "code", value = "状态码")
    private String code;
    @ApiModelProperty(name = "message", value = "自定义异常消息")
    private String message;
}
